/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package fr.ove.openmath.jome.ctrl.mml;

/**
 *
 * @author Mr.Sam
 */
public class Attribute {
    /**
    * The name of the attribute.
    */
    private String name;
    
    /**
    * The value of the attribute.
    */
    private String value;
    
    /**
    * Sets the name of the attribute.
    * @param name the name of the attribute.
    */
    public void setName(String name) {
        this.name = name;
    }
    
    /**
    * Returns the name of the attribute.
    */
    public String getName() {
        return name;
    }
    
    /**
    * Sets the value of the attribute.
    * @param value the value of the attribute.
    */
    public void setValue(String value) {
        this.value = value;
    }
    
    /**
    * Returns the value of the attribute.
    */
    public String getValue() {
        return value;
    }
    
    /**
    * Returns the string representation of the attribute.
    */
    public String toString() {
        return name + "=\"" + value + "\"";
    }
}
    
